package com.orange.wwwapi.config;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "key-top")
@ConditionalOnProperty(prefix = "key-top", name = "appid")
public class KeyTopCarParkProperty {

    private String baseUrl;

    private String appId;

    private String appSecret;

    private Integer parkId;

    private String parkName;
}
